#!/bin/sh
env=$1
if [ "$env"x = ""x ]; then
  env=test
fi
# 主项目install
npm install --legacy-peer-deps
# 打包
npm run build:$env